#include<stdio.h>
int main()
{
	int a=0,b=0;
	float m;
	scanf("%d %d",&a,&b);
	printf("%d + %d = %d\n",a,b,a+b);
	printf("%d - %d = %d\n",a,b,a-b);
	printf("%d * %d = %d\n",a,b,a*b);
	if(a%b==0)
	printf("%d / %d = %d\n",a,b,a/b);
	else
	printf("%d / %d = %.2f\n",a,b,a*0.1/b*10);
	return 0;
}
